﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HKEA.CMS.Core.Utility;
using HKEA.CMS.Core.Models;
namespace HKEA.CMS.Core.IDAL.App
{
    public interface Iapp_tblMediaRoom_Related
    {
        int InsertENT(app_tblMediaRoom_Related ent);

        List<app_tblMediaRoom_Related> GetMaxAppRelatedENTByCUID(app_tblMediaRoom_Related ent);

        List<app_tblMediaRoom_Related> GetListByENT(app_tblMediaRoom_Related ent);
        List<app_tblMediaRoom_Related> GetListByENT(app_tblMediaRoom_Related ent, bool IsAddDeletedForSelect);
        List<M_MediaRoomRelatedDetail> GetList(app_tblMediaRoom_Related ent, bool IsAddDeletedForSelect);
        List<Ext_MediaRoom> GetListWithMediaRoomByENT(Ext_MediaRoom ent, bool value);
        List<Ext_MediaRoom> GetListWithMediaRoomByENT(Ext_MediaRoom ent);
        int GetCountByENT(app_tblMediaRoom_Related ent);

        int UpdateENT(app_tblMediaRoom_Related ent);
        int SaveList(List<app_tblMediaRoom_Related> toadded, List<app_tblMediaRoom_Related> todeleted, List<app_tblMediaRoom_Related> toupdated);
        int DeleteENT(app_tblMediaRoom_Related ent);
    }
}
